package com.yxuan.springboot.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
@ApiModel(description = "招生简章(部分)")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class RecruitmentBrochureNoTotal {
    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "文章名称")
    private String newsTitle;
    @ApiModelProperty(value = "院校id")
    private Long schoolId;
    @ApiModelProperty(value = "院校名称")
    private String schoolName;
    @ApiModelProperty(value = "阅读次数")
    private Integer readTimes;
    //编辑时间
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
    private Date editTime;
}
